# -*- coding: utf-8 -*-
'''============================
@Time : 2024/1/19 12:34
@Author : YangLiHua
@File : run_pytest.py
@Desc : 
============================'''
import pytest
import subprocess

pytest.main()
subprocess.call('allure generate ./result/temp -o ./result/report --clean',shell=True)
subprocess.call('allure open -h 127.0.0.1 -p 8088 ./result/report',shell=True)